{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [],
   "source": [
    "from mlrun import get_run_db, mlconf"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [],
   "source": [
    "# specify the DB path (use 'http://mlrun-api:8080' for api service)\n",
    "mlconf.dbpath = mlconf.dbpath or \"http://mlrun-api:8080\"\n",
    "db = get_run_db().connect()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<style> \n",
       ".dictlist {\n",
       "  background-color: #b3edff; \n",
       "  text-align: center; \n",
       "  margin: 4px; \n",
       "  border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;}\n",
       ".artifact {\n",
       "  cursor: pointer; \n",
       "  background-color: #ffe6cc; \n",
       "  text-align: left; \n",
       "  margin: 4px; border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;\n",
       "}\n",
       "div.block.hidden {\n",
       "  display: none;\n",
       "}\n",
       ".clickable {\n",
       "  cursor: pointer;\n",
       "}\n",
       ".ellipsis {\n",
       "  display: inline-block;\n",
       "  max-width: 60px;\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "}\n",
       ".master-wrapper {\n",
       "  display: flex;\n",
       "  flex-flow: row nowrap;\n",
       "  justify-content: flex-start;\n",
       "  align-items: stretch;\n",
       "}\n",
       ".master-tbl {\n",
       "  flex: 3\n",
       "}\n",
       ".master-wrapper > div {\n",
       "  margin: 4px;\n",
       "  padding: 10px;\n",
       "}\n",
       "iframe.fileview {\n",
       "  border: 0 none;\n",
       "  height: 100%;\n",
       "  width: 100%;\n",
       "  white-space: pre-wrap;\n",
       "}\n",
       ".pane-header-title {\n",
       "  width: 80%;\n",
       "  font-weight: 500;\n",
       "}\n",
       ".pane-header {\n",
       "  line-height: 1;\n",
       "  background-color: #ffe6cc;\n",
       "  padding: 3px;\n",
       "}\n",
       ".pane-header .close {\n",
       "  font-size: 20px;\n",
       "  font-weight: 700;\n",
       "  float: right;\n",
       "  margin-top: -5px;\n",
       "}\n",
       ".master-wrapper .right-pane {\n",
       "  border: 1px inset silver;\n",
       "  width: 40%;\n",
       "  min-height: 300px;\n",
       "  flex: 3\n",
       "  min-width: 500px;\n",
       "}\n",
       ".master-wrapper * {\n",
       "  box-sizing: border-box;\n",
       "}\n",
       "</style><script>\n",
       "function copyToClipboard(fld) {\n",
       "    if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n",
       "        var textarea = document.createElement('textarea');\n",
       "        textarea.textContent = fld.innerHTML;\n",
       "        textarea.style.position = 'fixed';\n",
       "        document.body.appendChild(textarea);\n",
       "        textarea.select();\n",
       "\n",
       "        try {\n",
       "            return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n",
       "        } catch (ex) {\n",
       "\n",
       "        } finally {\n",
       "            document.body.removeChild(textarea);\n",
       "        }\n",
       "    }\n",
       "}\n",
       "function expandPanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName');\n",
       "  console.log(el.title);\n",
       "\n",
       "  document.querySelector(panelName + \"-title\").innerHTML = el.title\n",
       "  iframe = document.querySelector(panelName + \"-body\");\n",
       "  \n",
       "  const tblcss = `<style> body { font-family: Arial, Helvetica, sans-serif;}\n",
       "    #csv { margin-bottom: 15px; }\n",
       "    #csv table { border-collapse: collapse;}\n",
       "    #csv table td { padding: 4px 8px; border: 1px solid silver;} </style>`;\n",
       "\n",
       "  function csvToHtmlTable(str) {\n",
       "    return '<div id=\"csv\"><table><tr><td>' +  str.replace(/[\\n\\r]+$/g, '').replace(/[\\n\\r]+/g, '</td></tr><tr><td>')\n",
       "      .replace(/,/g, '</td><td>') + '</td></tr></table></div>';\n",
       "  }\n",
       "  \n",
       "  function reqListener () {\n",
       "    if (el.title.endsWith(\".csv\")) {\n",
       "      iframe.setAttribute(\"srcdoc\", tblcss + csvToHtmlTable(this.responseText));\n",
       "    } else {\n",
       "      iframe.setAttribute(\"srcdoc\", this.responseText);\n",
       "    }  \n",
       "    console.log(this.responseText);\n",
       "  }\n",
       "\n",
       "  const oReq = new XMLHttpRequest();\n",
       "  oReq.addEventListener(\"load\", reqListener);\n",
       "  oReq.open(\"GET\", el.title);\n",
       "  oReq.send();\n",
       "  \n",
       "  \n",
       "  //iframe.src = el.title;\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.remove(\"hidden\");\n",
       "  }\n",
       "}\n",
       "function closePanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName')\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (!resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.add(\"hidden\");\n",
       "  }\n",
       "}\n",
       "\n",
       "</script>\n",
       "<div class=\"master-wrapper\">\n",
       "  <div class=\"block master-tbl\"><div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>uid</th>\n",
       "      <th>iter</th>\n",
       "      <th>start</th>\n",
       "      <th>state</th>\n",
       "      <th>name</th>\n",
       "      <th>labels</th>\n",
       "      <th>inputs</th>\n",
       "      <th>parameters</th>\n",
       "      <th>results</th>\n",
       "      <th>artifacts</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td><div title=\"983db54276e14ca988217fb7875b5b95\"><a href=\"https://mlrun-ui.default-tenant.app.yh48.iguazio-cd2.com/jobs/983db54276e14ca988217fb7875b5b95/info\" target=\"_blank\" >...5b5b95</a></div></td>\n",
       "      <td>0</td>\n",
       "      <td>Mar 30 18:54:45</td>\n",
       "      <td>completed</td>\n",
       "      <td>download</td>\n",
       "      <td><div class=\"dictlist\">host=download-jkl85</div><div class=\"dictlist\">kind=job</div><div class=\"dictlist\">owner=admin</div><div class=\"dictlist\">v3io_user=admin</div></td>\n",
       "      <td><div title=\"http://iguazio-sample-data.s3.amazonaws.com/catsndogs.zip\">archive_url</div></td>\n",
       "      <td><div class=\"dictlist\">target_dir=/User/mlrun/examples/images</div></td>\n",
       "      <td></td>\n",
       "      <td><div title=\"/User/mlrun/examples/images\">content</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div title=\"0a6483f2f6c5418cac4ef06f74904d23\"><a href=\"https://mlrun-ui.default-tenant.app.yh48.iguazio-cd2.com/jobs/0a6483f2f6c5418cac4ef06f74904d23/info\" target=\"_blank\" >...904d23</a></div></td>\n",
       "      <td>0</td>\n",
       "      <td>Mar 30 18:54:23</td>\n",
       "      <td>completed</td>\n",
       "      <td>download</td>\n",
       "      <td><div class=\"dictlist\">host=jupyter-74f9488695-6wrxj</div><div class=\"dictlist\">kind=</div><div class=\"dictlist\">owner=admin</div><div class=\"dictlist\">v3io_user=admin</div></td>\n",
       "      <td><div title=\"http://iguazio-sample-data.s3.amazonaws.com/catsndogs.zip\">archive_url</div></td>\n",
       "      <td><div class=\"dictlist\">target_dir=/User/mlrun/examples/images</div></td>\n",
       "      <td></td>\n",
       "      <td><div title=\"/User/mlrun/examples/images\">content</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div title=\"47580e430b814e7bb4d32e83771c2bbf\"><a href=\"https://mlrun-ui.default-tenant.app.yh48.iguazio-cd2.com/jobs/47580e430b814e7bb4d32e83771c2bbf/info\" target=\"_blank\" >...1c2bbf</a></div></td>\n",
       "      <td>0</td>\n",
       "      <td>Mar 30 18:51:09</td>\n",
       "      <td>completed</td>\n",
       "      <td>download</td>\n",
       "      <td><div class=\"dictlist\">host=jupyter-74f9488695-6wrxj</div><div class=\"dictlist\">kind=</div><div class=\"dictlist\">owner=admin</div><div class=\"dictlist\">v3io_user=admin</div></td>\n",
       "      <td><div title=\"http://iguazio-sample-data.s3.amazonaws.com/catsndogs.zip\">archive_url</div></td>\n",
       "      <td><div class=\"dictlist\">target_dir=/User/mlrun/examples/images</div></td>\n",
       "      <td></td>\n",
       "      <td><div title=\"/User/mlrun/examples/images\">content</div></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div></div>\n",
       "  <div id=\"resulta017eff5-pane\" class=\"right-pane block hidden\">\n",
       "    <div class=\"pane-header\">\n",
       "      <span id=\"resulta017eff5-title\" class=\"pane-header-title\">Title</span>\n",
       "      <span onclick=\"closePanel(this)\" paneName=\"resulta017eff5\" class=\"close clickable\">&times;</span>\n",
       "    </div>\n",
       "    <iframe class=\"fileview\" id=\"resulta017eff5-body\"></iframe>\n",
       "  </div>\n",
       "</div>\n"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# list all runs\n",
    "db.list_runs(\"download\").show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<style> \n",
       ".dictlist {\n",
       "  background-color: #b3edff; \n",
       "  text-align: center; \n",
       "  margin: 4px; \n",
       "  border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;}\n",
       ".artifact {\n",
       "  cursor: pointer; \n",
       "  background-color: #ffe6cc; \n",
       "  text-align: left; \n",
       "  margin: 4px; border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;\n",
       "}\n",
       "div.block.hidden {\n",
       "  display: none;\n",
       "}\n",
       ".clickable {\n",
       "  cursor: pointer;\n",
       "}\n",
       ".ellipsis {\n",
       "  display: inline-block;\n",
       "  max-width: 60px;\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "}\n",
       ".master-wrapper {\n",
       "  display: flex;\n",
       "  flex-flow: row nowrap;\n",
       "  justify-content: flex-start;\n",
       "  align-items: stretch;\n",
       "}\n",
       ".master-tbl {\n",
       "  flex: 3\n",
       "}\n",
       ".master-wrapper > div {\n",
       "  margin: 4px;\n",
       "  padding: 10px;\n",
       "}\n",
       "iframe.fileview {\n",
       "  border: 0 none;\n",
       "  height: 100%;\n",
       "  width: 100%;\n",
       "  white-space: pre-wrap;\n",
       "}\n",
       ".pane-header-title {\n",
       "  width: 80%;\n",
       "  font-weight: 500;\n",
       "}\n",
       ".pane-header {\n",
       "  line-height: 1;\n",
       "  background-color: #ffe6cc;\n",
       "  padding: 3px;\n",
       "}\n",
       ".pane-header .close {\n",
       "  font-size: 20px;\n",
       "  font-weight: 700;\n",
       "  float: right;\n",
       "  margin-top: -5px;\n",
       "}\n",
       ".master-wrapper .right-pane {\n",
       "  border: 1px inset silver;\n",
       "  width: 40%;\n",
       "  min-height: 300px;\n",
       "  flex: 3\n",
       "  min-width: 500px;\n",
       "}\n",
       ".master-wrapper * {\n",
       "  box-sizing: border-box;\n",
       "}\n",
       "</style><script>\n",
       "function copyToClipboard(fld) {\n",
       "    if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n",
       "        var textarea = document.createElement('textarea');\n",
       "        textarea.textContent = fld.innerHTML;\n",
       "        textarea.style.position = 'fixed';\n",
       "        document.body.appendChild(textarea);\n",
       "        textarea.select();\n",
       "\n",
       "        try {\n",
       "            return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n",
       "        } catch (ex) {\n",
       "\n",
       "        } finally {\n",
       "            document.body.removeChild(textarea);\n",
       "        }\n",
       "    }\n",
       "}\n",
       "function expandPanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName');\n",
       "  console.log(el.title);\n",
       "\n",
       "  document.querySelector(panelName + \"-title\").innerHTML = el.title\n",
       "  iframe = document.querySelector(panelName + \"-body\");\n",
       "  \n",
       "  const tblcss = `<style> body { font-family: Arial, Helvetica, sans-serif;}\n",
       "    #csv { margin-bottom: 15px; }\n",
       "    #csv table { border-collapse: collapse;}\n",
       "    #csv table td { padding: 4px 8px; border: 1px solid silver;} </style>`;\n",
       "\n",
       "  function csvToHtmlTable(str) {\n",
       "    return '<div id=\"csv\"><table><tr><td>' +  str.replace(/[\\n\\r]+$/g, '').replace(/[\\n\\r]+/g, '</td></tr><tr><td>')\n",
       "      .replace(/,/g, '</td><td>') + '</td></tr></table></div>';\n",
       "  }\n",
       "  \n",
       "  function reqListener () {\n",
       "    if (el.title.endsWith(\".csv\")) {\n",
       "      iframe.setAttribute(\"srcdoc\", tblcss + csvToHtmlTable(this.responseText));\n",
       "    } else {\n",
       "      iframe.setAttribute(\"srcdoc\", this.responseText);\n",
       "    }  \n",
       "    console.log(this.responseText);\n",
       "  }\n",
       "\n",
       "  const oReq = new XMLHttpRequest();\n",
       "  oReq.addEventListener(\"load\", reqListener);\n",
       "  oReq.open(\"GET\", el.title);\n",
       "  oReq.send();\n",
       "  \n",
       "  \n",
       "  //iframe.src = el.title;\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.remove(\"hidden\");\n",
       "  }\n",
       "}\n",
       "function closePanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName')\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (!resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.add(\"hidden\");\n",
       "  }\n",
       "}\n",
       "\n",
       "</script>\n",
       "<div class=\"master-wrapper\">\n",
       "  <div class=\"block master-tbl\"><div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>key</th>\n",
       "      <th>iter</th>\n",
       "      <th>kind</th>\n",
       "      <th>path</th>\n",
       "      <th>hash</th>\n",
       "      <th>viewer</th>\n",
       "      <th>updated</th>\n",
       "      <th>description</th>\n",
       "      <th>producer</th>\n",
       "      <th>sources</th>\n",
       "      <th>labels</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>1</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/1/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/1/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"483f19c88f25925a28faa5bd9117332748a570fe (dbl click to copy)\">483f19c88f25925a28faa5bd9117332748a570fe</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-1 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>2</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/2/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/2/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"112c798ab8ec1b8b1cf9b75de3d728eb34cb1dfc (dbl click to copy)\">112c798ab8ec1b8b1cf9b75de3d728eb34cb1dfc</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-2 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>3</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/3/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/3/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"0a5abf2d6d8485d4b19170b666f91c79806f2a85 (dbl click to copy)\">0a5abf2d6d8485d4b19170b666f91c79806f2a85</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-3 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>4</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/4/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/4/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"3f73fb308d5d778ff1dce8a9bf15844f35fc5dd1 (dbl click to copy)\">3f73fb308d5d778ff1dce8a9bf15844f35fc5dd1</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-4 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>5</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/5/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/5/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6c284cd4efa42117a694a7b5bd0e396259d3b733 (dbl click to copy)\">6c284cd4efa42117a694a7b5bd0e396259d3b733</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-5 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>6</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/6/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/6/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"a186d00ae42c61c4a0ee977ee5027cc60b454267 (dbl click to copy)\">a186d00ae42c61c4a0ee977ee5027cc60b454267</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:51</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-6 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>7</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/7/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/7/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"0e2ae7eab5be409c75a130e1b160cd22bc944801 (dbl click to copy)\">0e2ae7eab5be409c75a130e1b160cd22bc944801</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:52</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-7 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>8</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/8/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/8/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"64ff1a30a3fba73291ccf7fd2b7f807718d45aa2 (dbl click to copy)\">64ff1a30a3fba73291ccf7fd2b7f807718d45aa2</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:52</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-8 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_model</td>\n",
       "      <td>9</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/9/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/9/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"34998a9b626cd79947b3eb0dc758e7e51a048686 (dbl click to copy)\">34998a9b626cd79947b3eb0dc758e7e51a048686</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:52</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54-9 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td><div class=\"dictlist\">framework=xgboost</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>ingest_iris_iris_dataset</td>\n",
       "      <td>0</td>\n",
       "      <td>table</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"3941c1afb0f24e879b0a2b0a5c06391da83f260a (dbl click to copy)\">3941c1afb0f24e879b0a2b0a5c06391da83f260a</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:38</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/3f7f24a9bf124437a34b74ed78e7824e by admin\" class=\"producer\">ingest_iris</div></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>model</td>\n",
       "      <td>0</td>\n",
       "      <td>link</td>\n",
       "      <td><div title=\"v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/2/model.bst\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/2/model.bst</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\" (dbl click to copy)\"></div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:46:52</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb-iris_generator_iris_dataset</td>\n",
       "      <td>0</td>\n",
       "      <td>table</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"/files/mlrun/examples/iris_dataset.csv\">iris_dataset.csv</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"3941c1afb0f24e879b0a2b0a5c06391da83f260a (dbl click to copy)\">3941c1afb0f24e879b0a2b0a5c06391da83f260a</div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 15:44:18</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/6de7fc0312c34e0eaacec38053a215fb by admin\" class=\"producer\">xgb-iris_generator</div></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td>xgb_train_iteration_results</td>\n",
       "      <td>0</td>\n",
       "      <td>table</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iteration_results.csv\">v3io:///users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iteration_results.csv</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"62f6751fc0ed1281a0655c6de0f19e31154651cd (dbl click to copy)\">62f6751fc0ed1281a0655c6de0f19e31154651cd</div></td>\n",
       "      <td>table</td>\n",
       "      <td>Mar 30 15:46:52</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/iris/9bfa62e809254bb492008fa96a6f2a54 by admin\" class=\"producer\">xgb_train</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resulta5ad26b9\" title=\"files/v3io/users/admin/mlrun/kfp/2b1d43d9-b6e0-4cd9-b211-d2733de3997e/iris_dataset.csv\">dataset</div></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div></div>\n",
       "  <div id=\"resulta5ad26b9-pane\" class=\"right-pane block hidden\">\n",
       "    <div class=\"pane-header\">\n",
       "      <span id=\"resulta5ad26b9-title\" class=\"pane-header-title\">Title</span>\n",
       "      <span onclick=\"closePanel(this)\" paneName=\"resulta5ad26b9\" class=\"close clickable\">&times;</span>\n",
       "    </div>\n",
       "    <iframe class=\"fileview\" id=\"resulta5ad26b9-body\"></iframe>\n",
       "  </div>\n",
       "</div>\n"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# list all artifact for version \"latest\"\n",
    "db.list_artifacts(\"\", tag=\"latest\", project=\"iris\").show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<style> \n",
       ".dictlist {\n",
       "  background-color: #b3edff; \n",
       "  text-align: center; \n",
       "  margin: 4px; \n",
       "  border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;}\n",
       ".artifact {\n",
       "  cursor: pointer; \n",
       "  background-color: #ffe6cc; \n",
       "  text-align: left; \n",
       "  margin: 4px; border-radius: 3px; padding: 0px 3px 1px 3px; display: inline-block;\n",
       "}\n",
       "div.block.hidden {\n",
       "  display: none;\n",
       "}\n",
       ".clickable {\n",
       "  cursor: pointer;\n",
       "}\n",
       ".ellipsis {\n",
       "  display: inline-block;\n",
       "  max-width: 60px;\n",
       "  white-space: nowrap;\n",
       "  overflow: hidden;\n",
       "  text-overflow: ellipsis;\n",
       "}\n",
       ".master-wrapper {\n",
       "  display: flex;\n",
       "  flex-flow: row nowrap;\n",
       "  justify-content: flex-start;\n",
       "  align-items: stretch;\n",
       "}\n",
       ".master-tbl {\n",
       "  flex: 3\n",
       "}\n",
       ".master-wrapper > div {\n",
       "  margin: 4px;\n",
       "  padding: 10px;\n",
       "}\n",
       "iframe.fileview {\n",
       "  border: 0 none;\n",
       "  height: 100%;\n",
       "  width: 100%;\n",
       "  white-space: pre-wrap;\n",
       "}\n",
       ".pane-header-title {\n",
       "  width: 80%;\n",
       "  font-weight: 500;\n",
       "}\n",
       ".pane-header {\n",
       "  line-height: 1;\n",
       "  background-color: #ffe6cc;\n",
       "  padding: 3px;\n",
       "}\n",
       ".pane-header .close {\n",
       "  font-size: 20px;\n",
       "  font-weight: 700;\n",
       "  float: right;\n",
       "  margin-top: -5px;\n",
       "}\n",
       ".master-wrapper .right-pane {\n",
       "  border: 1px inset silver;\n",
       "  width: 40%;\n",
       "  min-height: 300px;\n",
       "  flex: 3\n",
       "  min-width: 500px;\n",
       "}\n",
       ".master-wrapper * {\n",
       "  box-sizing: border-box;\n",
       "}\n",
       "</style><script>\n",
       "function copyToClipboard(fld) {\n",
       "    if (document.queryCommandSupported && document.queryCommandSupported('copy')) {\n",
       "        var textarea = document.createElement('textarea');\n",
       "        textarea.textContent = fld.innerHTML;\n",
       "        textarea.style.position = 'fixed';\n",
       "        document.body.appendChild(textarea);\n",
       "        textarea.select();\n",
       "\n",
       "        try {\n",
       "            return document.execCommand('copy'); // Security exception may be thrown by some browsers.\n",
       "        } catch (ex) {\n",
       "\n",
       "        } finally {\n",
       "            document.body.removeChild(textarea);\n",
       "        }\n",
       "    }\n",
       "}\n",
       "function expandPanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName');\n",
       "  console.log(el.title);\n",
       "\n",
       "  document.querySelector(panelName + \"-title\").innerHTML = el.title\n",
       "  iframe = document.querySelector(panelName + \"-body\");\n",
       "  \n",
       "  const tblcss = `<style> body { font-family: Arial, Helvetica, sans-serif;}\n",
       "    #csv { margin-bottom: 15px; }\n",
       "    #csv table { border-collapse: collapse;}\n",
       "    #csv table td { padding: 4px 8px; border: 1px solid silver;} </style>`;\n",
       "\n",
       "  function csvToHtmlTable(str) {\n",
       "    return '<div id=\"csv\"><table><tr><td>' +  str.replace(/[\\n\\r]+$/g, '').replace(/[\\n\\r]+/g, '</td></tr><tr><td>')\n",
       "      .replace(/,/g, '</td><td>') + '</td></tr></table></div>';\n",
       "  }\n",
       "  \n",
       "  function reqListener () {\n",
       "    if (el.title.endsWith(\".csv\")) {\n",
       "      iframe.setAttribute(\"srcdoc\", tblcss + csvToHtmlTable(this.responseText));\n",
       "    } else {\n",
       "      iframe.setAttribute(\"srcdoc\", this.responseText);\n",
       "    }  \n",
       "    console.log(this.responseText);\n",
       "  }\n",
       "\n",
       "  const oReq = new XMLHttpRequest();\n",
       "  oReq.addEventListener(\"load\", reqListener);\n",
       "  oReq.open(\"GET\", el.title);\n",
       "  oReq.send();\n",
       "  \n",
       "  \n",
       "  //iframe.src = el.title;\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.remove(\"hidden\");\n",
       "  }\n",
       "}\n",
       "function closePanel(el) {\n",
       "  const panelName = \"#\" + el.getAttribute('paneName')\n",
       "  const resultPane = document.querySelector(panelName + \"-pane\");\n",
       "  if (!resultPane.classList.contains(\"hidden\")) {\n",
       "    resultPane.classList.add(\"hidden\");\n",
       "  }\n",
       "}\n",
       "\n",
       "</script>\n",
       "<div class=\"master-wrapper\">\n",
       "  <div class=\"block master-tbl\"><div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th>tree</th>\n",
       "      <th>key</th>\n",
       "      <th>iter</th>\n",
       "      <th>kind</th>\n",
       "      <th>path</th>\n",
       "      <th>hash</th>\n",
       "      <th>viewer</th>\n",
       "      <th>updated</th>\n",
       "      <th>description</th>\n",
       "      <th>producer</th>\n",
       "      <th>sources</th>\n",
       "      <th>labels</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"1893909524f64029b5b023428ec3472f (dbl click to copy)\">1893909524f64029b5b023428ec3472f</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>0</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/1893909524f64029b5b023428ec3472f/chart.html\">/User/mlrun/examples/data/1893909524f64029b5b023428ec3472f/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:20:28</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/1893909524f64029b5b023428ec3472f by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"433c0b3e844a4eb78d300006d459bc83 (dbl click to copy)\">433c0b3e844a4eb78d300006d459bc83</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/433c0b3e844a4eb78d300006d459bc83/chart.html\">/User/mlrun/examples/data/433c0b3e844a4eb78d300006d459bc83/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 22:57:06</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/433c0b3e844a4eb78d300006d459bc83 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:23</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-1 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/2/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:26</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-2 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/3/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:28</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-3 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>link</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\" (dbl click to copy)\"></div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 16:24:29</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:38</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-1 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/2/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:41</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-2 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/3/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:44</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-3 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>link</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\" (dbl click to copy)\"></div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 28 20:46:44</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"aa10735a2f6d4c868a7912c7540c12c5 (dbl click to copy)\">aa10735a2f6d4c868a7912c7540c12c5</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/aa10735a2f6d4c868a7912c7540c12c5/chart.html\">/User/mlrun/examples/data/aa10735a2f6d4c868a7912c7540c12c5/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:28</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/aa10735a2f6d4c868a7912c7540c12c5 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/1/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:35</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-1 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/2/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:38</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-2 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/3/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:42</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-3 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"f4d0a6b98e7141c290536278915e9c0d (dbl click to copy)\">f4d0a6b98e7141c290536278915e9c0d</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/f4d0a6b98e7141c290536278915e9c0d/chart.html\">/User/mlrun/examples/data/f4d0a6b98e7141c290536278915e9c0d/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 21:07:52</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/f4d0a6b98e7141c290536278915e9c0d by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:38</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-1 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:23</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-1 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>1</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/1/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:35</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-1 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/2/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:41</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-2 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/2/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:26</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-2 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>2</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/2/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/2/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:38</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-2 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"90de2edfe10d4acf8206ca4063670279 (dbl click to copy)\">90de2edfe10d4acf8206ca4063670279</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/3/chart.html\">/User/mlrun/examples/data/90de2edfe10d4acf8206ca4063670279/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 28 20:46:44</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/90de2edfe10d4acf8206ca4063670279-3 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/3/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:24:28</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/6894ac85ce684703b50369a77140b94b-3 by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"b4a17ff14ed84353ab6e1260b24506e6 (dbl click to copy)\">b4a17ff14ed84353ab6e1260b24506e6</div></td>\n",
       "      <td>train_hyper_chart</td>\n",
       "      <td>3</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/3/chart.html\">/User/mlrun/examples/data/b4a17ff14ed84353ab6e1260b24506e6/3/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:25:42</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/b4a17ff14ed84353ab6e1260b24506e6-3 by admin\" class=\"producer\">train_hyper</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"6894ac85ce684703b50369a77140b94b (dbl click to copy)\">6894ac85ce684703b50369a77140b94b</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>0</td>\n",
       "      <td>link</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html\">/User/mlrun/examples/data/6894ac85ce684703b50369a77140b94b/1/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\" (dbl click to copy)\"></div></td>\n",
       "      <td></td>\n",
       "      <td>Mar 30 16:24:29</td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "      <td></td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"1893909524f64029b5b023428ec3472f (dbl click to copy)\">1893909524f64029b5b023428ec3472f</div></td>\n",
       "      <td>demo_chart</td>\n",
       "      <td>0</td>\n",
       "      <td>chart</td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/data/1893909524f64029b5b023428ec3472f/chart.html\">/User/mlrun/examples/data/1893909524f64029b5b023428ec3472f/chart.html</div></td>\n",
       "      <td><div class=\"ellipsis\" ondblclick=\"copyToClipboard(this)\" title=\"7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e (dbl click to copy)\">7affd9d4dc56ef2ffe9f5e7cfa4f010b64c24a6e</div></td>\n",
       "      <td>chart</td>\n",
       "      <td>Mar 30 16:20:28</td>\n",
       "      <td></td>\n",
       "      <td><div title=\"run/default/1893909524f64029b5b023428ec3472f by admin\" class=\"producer\">demo</div></td>\n",
       "      <td><div class=\"artifact\" onclick=\"expandPanel(this)\" paneName=\"resultb511333f\" title=\"/files/mlrun/examples/infile.txt\">infile.txt</div></td>\n",
       "      <td><div class=\"dictlist\">type=roc</div></td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "</div></div>\n",
       "  <div id=\"resultb511333f-pane\" class=\"right-pane block hidden\">\n",
       "    <div class=\"pane-header\">\n",
       "      <span id=\"resultb511333f-title\" class=\"pane-header-title\">Title</span>\n",
       "      <span onclick=\"closePanel(this)\" paneName=\"resultb511333f\" class=\"close clickable\">&times;</span>\n",
       "    </div>\n",
       "    <iframe class=\"fileview\" id=\"resultb511333f-body\"></iframe>\n",
       "  </div>\n",
       "</div>\n"
      ],
      "text/plain": [
       "<IPython.core.display.HTML object>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "# check different artifact versions\n",
    "db.list_artifacts(\"ch\", tag=\"*\").show()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [],
   "source": [
    "db.del_runs(state=\"completed\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [],
   "source": [
    "db.del_artifacts(tag=\"*\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.8"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 4
}
